const login = () =>
    import ('@/views/login')
const myfq_footer = () =>
    import ('@/components/myfq-footer')
const mine = () =>
    import ('@/views/mine')
const home = () =>
    import ('@/views/home')

const routes = [{
    path: '/',
    name: 'login',
    components: {
        default: login,
        'myfq-footer': myfq_footer
    },
    meta: {
        tabName: "登录",
        icon: "home-o",
        isTabbarShow: true,
        isHeaderRightShow: true,
        title: '账号登录',
        keepAlive:true
    }
}, {
    path: '/mine',
    name: 'mine',
    components: {
        default: mine,
        'myfq-footer': myfq_footer,
    },
    meta: {
        tabName: "我的",
        icon: "home-o",
        isTabbarShow: true,
        isHeaderRightShow: true,
        title: "我的银行卡",
        keepAlive:true
    }
}, {
    path: '/home',
    name: 'home',
    components: {
        default: home,
        'myfq-footer': myfq_footer
    },
    meta: {
        tabName: "主页",
        icon: "home-o",
        isTabbarShow: true,
        isHeaderRightShow: true,
        title: "我的项目",
        keepAlive:true
    }
}]

export default routes